package com.zzyl.mapper;

import com.zzyl.entity.RoleResource;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleResourceMapper {
    @Delete("delete from sys_role_resource where role_id = #{id}")
    void deleteById(Long id);

    void batchInsert(List<RoleResource> collect);
}
